┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/share/doc/perl-CPAN-Meta/t/parse-cpan-meta
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: 05_errors.t
#!/usr/bin/perl delete $ENV{PERL_YAML_BACKEND}; delete $ENV{PERL_JSON_BACKEND}; # Testing of basic document structures use strict; BEGIN { $| = 1; $^W = 1; } use Test::More tests => 1; use Parse::CPAN::Meta (); my $one = <<'END_YAML'; --- - foo: - bar END_YAML my $one_scalar_tiny = eval { Parse::CPAN::Meta->load_yaml_string( $one ) }; like( $@, '/illegal characters/', "error causes exception");
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 02_api.t
T
7.7 KB
2024-10-29 00:00
EDIT
📄 03_functions.t
T
562 B
2024-10-29 00:00
EDIT
📄 04_export.t
T
446 B
2024-10-29 00:00
EDIT
📄 05_errors.t
T
408 B
2024-10-29 00:00
EDIT